package com.mashibing.uitl;

import java.util.HashMap;
import java.util.Map;

/**
 * @author wujianjun
 * @date 2023/11/13 13:49
 */
public class GlobalCache {

    private static Map map = new HashMap();

    public static void set(String key, Object value) {
        map.put(key, value);
    }

    public static Object get(String key) {
        Object value = map.get(key);
        return value;
    }

    public static void remove(String key) {
        map.remove(key);
    }
}
